/**
* 智慧管理系统 - 暗黑科技风样式增强
* Copyright (c) 2024 SmartAdmin Team
*/

/** 基础通用 **/
.pt5 {
  padding-top: 5px;
}

.pr5 {
  padding-right: 5px;
}

.pb5 {
  padding-bottom: 5px;
}

.mt5 {
  margin-top: 5px;
}

.mr5 {
  margin-right: 5px;
}

.mb5 {
  margin-bottom: 5px;
}

.mb8 {
  margin-bottom: 8px;
}

.ml5 {
  margin-left: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mr10 {
  margin-right: 10px;
}

.mb10 {
  margin-bottom: 10px;
}
.ml10 {
	margin-left: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mr20 {
  margin-right: 20px;
}

.mb20 {
  margin-bottom: 20px;
}
.ml20 {
	margin-left: 20px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Rajdhani', inherit;
  font-weight: 600;
  line-height: 1.2;
  color: #e8eaed;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.el-message-box__status + .el-message-box__message{
  word-break: break-word;
}

.el-dialog:not(.is-fullscreen) {
  margin-top: 6vh !important;
}

.el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body {
  overflow: auto;
  overflow-x: hidden;
  max-height: 70vh;
  padding: 10px 20px 0;
}

.el-table {
  background: rgba(26, 26, 46, 0.8);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  
  .el-table__header-wrapper, .el-table__fixed-header-wrapper {
    th {
      word-break: break-word;
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 127, 255, 0.2) 100%);
      color: #00d4ff;
      height: 50px;
      font-size: 14px;
      font-weight: 600;
      border: none;
      text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    }
  }
  
  .el-table__row {
    background: rgba(26, 26, 46, 0.6);
    color: #e8eaed;
    transition: all 0.3s ease;
    
    &:hover {
      background: rgba(0, 212, 255, 0.1) !important;
      box-shadow: inset 0 0 0 1px rgba(0, 212, 255, 0.3);
    }
  }
  
  .el-table__body-wrapper {
    .el-button [class*="el-icon-"] + span {
      margin-left: 1px;
    }
  }
}

/** 表单布局 **/
.form-header {
  font-size: 15px;
  color: #6379bb;
  border-bottom: 1px solid #ddd;
  margin: 8px 10px 25px 10px;
  padding-bottom: 5px
}

/** 表格布局 **/
.pagination-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

/* tree border */
.tree-border {
  margin-top: 5px;
  border: 1px solid #e5e6e7;
  background: #FFFFFF none;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .pagination-container .el-pagination > .el-pagination__jump {
    display: none !important;
  }
  .pagination-container .el-pagination > .el-pagination__sizes {
    display: none !important;
  }
}

.el-table .fixed-width .el-button--mini {
  padding-left: 0;
  padding-right: 0;
  width: inherit;
}

/** 表格更多操作下拉样式 */
.el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
	cursor: pointer;
	margin-left: 5px;
}

.el-table .el-dropdown, .el-icon-arrow-down {
  font-size: 12px;
}

.el-tree-node__content > .el-checkbox {
  margin-right: 8px;
}

.list-group-striped > .list-group-item {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}

.list-group {
  padding-left: 0px;
  list-style: none;
}

.list-group-item {
  border-bottom: 1px solid #e7eaec;
  border-top: 1px solid #e7eaec;
  margin-bottom: -1px;
  padding: 11px 0px;
  font-size: 13px;
}

.pull-right {
  float: right !important;
}

.el-card__header {
  padding: 18px 20px 12px;
  min-height: 50px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 127, 255, 0.15) 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
  font-weight: 600;
  font-size: 16px;
}

.el-card__body {
  padding: 20px 25px 25px 25px;
  background: rgba(26, 26, 46, 0.8);
  color: #e8eaed;
}

.card-box {
  margin-bottom: 15px;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
  transition: all 0.3s ease;
  
  &:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
  }
}

/* 暗黑科技风按钮样式 */
.el-button--cyan.is-active,
.el-button--cyan:active {
  background: linear-gradient(135deg, #00d4ff 0%, #007fff 100%);
  border: 1px solid #00d4ff;
  color: #1a1a2e;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.el-button--cyan:focus,
.el-button--cyan:hover {
  background: linear-gradient(135deg, #33ddff 0%, #3399ff 100%);
  border: 1px solid #33ddff;
  color: #1a1a2e;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6);
  transform: translateY(-1px);
}

.el-button--cyan {
  background: linear-gradient(135deg, #00d4ff 0%, #007fff 100%);
  border: 1px solid #00d4ff;
  color: #1a1a2e;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}

.el-button {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #e8eaed;
  transition: all 0.3s ease;
  
  &:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  }
}

/* text color */
.text-navy {
  color: #1ab394;
}

.text-primary {
  color: inherit;
}

.text-success {
  color: #1c84c6;
}

.text-info {
  color: #23c6c8;
}

.text-warning {
  color: #f8ac59;
}

.text-danger {
  color: #ed5565;
}

.text-muted {
  color: #888888;
}

/* image */
.img-circle {
  border-radius: 50%;
}

.img-lg {
  width: 120px;
  height: 120px;
}

.avatar-upload-preview {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 0 0 4px #ccc;
  overflow: hidden;
}

/* 拖拽列样式 */
.sortable-ghost {
  opacity: .8;
  color: #fff !important;
  background: #42b983 !important;
}

.top-right-btn {
  position: relative;
  float: right;
}

/* 分割面板样式 */
.splitpanes.default-theme .splitpanes__pane {
  background-color: #fff!important;
}

/* 暗黑科技风格增强 */
.modern-card, .cyber-card {
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00d4ff, #007fff, #0052cc, #00d4ff);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 8s ease infinite;
    border-radius: 16px;
  }
  
  &:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
    
    &::before {
      opacity: 0.8;
    }
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-bg, .cyber-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 35%, #0f3460 70%, #00d4ff 100%);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: #e8eaed;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.glassmorphism, .cyber-glass {
  background: rgba(26, 26, 46, 0.3);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 212, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.8), transparent);
  }
}

/* 霓虹发光效果 */
.neon-glow {
  color: #00d4ff;
  text-shadow: 
    0 0 5px #00d4ff,
    0 0 10px #00d4ff,
    0 0 15px #00d4ff,
    0 0 20px #00d4ff;
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  from {
    text-shadow: 
      0 0 5px #00d4ff,
      0 0 10px #00d4ff,
      0 0 15px #00d4ff,
      0 0 20px #00d4ff;
  }
  to {
    text-shadow: 
      0 0 2px #00d4ff,
      0 0 5px #00d4ff,
      0 0 8px #00d4ff,
      0 0 12px #00d4ff;
  }
}

/* 科技感边框动画 */
.tech-border {
  position: relative;
  border: 2px solid transparent;
  background: linear-gradient(rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.8)) padding-box,
              linear-gradient(45deg, #00d4ff, #007fff, #0052cc, #00d4ff) border-box;
  background-size: 400% 400%;
  animation: gradientShift 6s ease infinite;
  border-radius: 12px;
}

/* 数据流效果 */
.data-stream {
  position: relative;
  overflow: hidden;
  
  &::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(0, 212, 255, 0.03) 2px,
        rgba(0, 212, 255, 0.03) 4px
      );
    animation: dataFlow 20s linear infinite;
  }
}

@keyframes dataFlow {
  0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}
